home *** CD-ROM | disk | FTP | other *** search
/ The Ultimate Frank Lloyd…ght - America's Architect / Ultimate Frank Lloyd Wright, The - America's Architect (1994)(Microsoft Home).iso / pre / flw / flwlt22.dir / 00027_Script_27 < prev    next >
Text File  |  1994-11-15  |  5KB  |  206 lines

  1. on startMovie
  2.   global inFrame, nowFrame, currMM
  3.   global dialogOn, nextLT, prevLT
  4.   cursor 4
  5.   set the preLoadRAM to 420
  6.   set prevLT = "FLWLT21"
  7.   set nextLT = "FLWLT23"
  8.   set dialogOn = FALSE
  9.   set currMM = "FLWMM"
  10.   set nowFrame = "ltfin948000°°°"
  11.   set inFrame = ""
  12.   puppetsprite 9, TRUE
  13.   puppetSprite 11, TRUE
  14.   puppetSprite 12, TRUE
  15.   set the immediate of sprite 11 to TRUE
  16.   set the immediate of sprite 12 to TRUE
  17.   puppetSprite 20, TRUE
  18.   puppetSprite 21, TRUE
  19.   puppetSprite 22, TRUE
  20.   puppetSprite 23, TRUE
  21.   set the immediate of sprite 20 to TRUE
  22.   set the immediate of sprite 23 to TRUE
  23. end startMovie
  24.  
  25. on stepMovie
  26.   global nowFrame,currFrame
  27.   if nowFrame <> currFrame then
  28.     seeAlsoList
  29.     set currFrame = nowFrame
  30.   end if
  31. end stepMovie
  32.  
  33. on stopMovie
  34.   put " " into field "seeAlsoText"
  35.   set the castNum of sprite 21 to 1050
  36.   puppetSprite 21, FALSE
  37.   updateStage
  38. end stopMovie
  39.  
  40. on saveLocals
  41.   global lastFrame, nowFrame, lastMovie, origLocH
  42.   set lastMovie = the movie
  43.   set lastFrame = nowFrame
  44. end saveLocals
  45.  
  46. on ltForStep
  47.   global inFrame, nextLT, ltQT
  48.   puppetSprite 4, FALSE
  49.   set inFrame = ""
  50.   set ltQT = FALSE
  51.   if the frame = 13 then
  52.     go to frame "ltfin950001°°°" of movie nextLT
  53.   else
  54.     go to marker (+1)
  55.     updateStage
  56.   end if
  57. end ltForStep
  58.  
  59. on ltBackStep
  60.   global inFrame, prevLT, ltQT
  61.   puppetSprite 4, FALSE
  62.   set ltQT = FALSE
  63.   set inFrame = ""
  64.   if the frame < 5 then
  65.     go to frame "ltfin945005°°°" of movie prevLT
  66.   else
  67.     go to marker (-1)
  68.     updateStage
  69.   end if
  70. end ltBackStep
  71.  
  72. on checkNav
  73.   if rollover(12) then
  74.     set the castNum of sprite 12 to the number of cast "leftUp"
  75.   else
  76.     set the castNum of sprite 12 to the number of cast "leftRt"
  77.   end if
  78.   
  79.   if rollover(11) then
  80.     set the castNum of sprite 11 to the number of cast "rightUp"
  81.   else
  82.     set the castNum of sprite 11 to the number of cast "rightRt"
  83.   end if
  84.   updateStage
  85.   cursor -1
  86. end checkNav
  87.  
  88. on buttonState
  89.   global FrankNav, bflag, nowFrame, noTx, dialogOn
  90.   
  91.   if dialogOn = FALSE then
  92.     
  93.     --sticking local call here for convenience
  94.     worldLite
  95.     if the mouseV > 200 or bFlag = TRUE then
  96.       set bFlag = FALSE
  97.       doState
  98.     end if
  99.   end if
  100. end buttonState
  101.  
  102. on scrollRight
  103.   if the clickon = 11 then
  104.     sound stop 1
  105.     startTimer
  106.     repeat while the timer < 2
  107.       set the castNum of sprite 11 to the number of cast "rightDn"
  108.       updateStage
  109.     end repeat
  110.     timeRight
  111.     flush
  112.   end if   
  113. end scrollRight
  114.  
  115. on scrollLeft
  116.   if the clickon = 12 then
  117.     sound stop 1
  118.     startTimer
  119.     repeat while the timer < 2
  120.       set the castNum of sprite 12 to the number of cast "leftDn"
  121.       updateStage
  122.     end repeat
  123.     timeLeft
  124.     flush
  125.   end if  
  126. end scrollLeft
  127.  
  128. on timeLeft
  129.   global prevLt
  130.   go to movie prevLT
  131. end timeLeft
  132.  
  133. on timeRight
  134.   global nextLt
  135.   go to movie nextLT
  136. end timeRight
  137.  
  138. on worldLite
  139.   if rollover(9) then
  140.     set the castNum of sprite 9 to 26
  141.   else
  142.     set the castNum of sprite 9 to 2
  143.   end if
  144. end worldLite
  145.  
  146. on rollVLB22
  147.   global currUp1, currUp2, currUp3, currUp4, currUp5
  148.   if the mouseH > 168 and the mouseH < 325 and the mouseV > 163 and the mouseV < 218 then
  149.     set the castNum of sprite 4 to 10
  150.     if the mouseDown then 
  151.       set the castNum of sprite 4 to 4
  152.     end if
  153.   else if the mouseH > 222 and the mouseH < 346 and the mouseV > 75 and the mouseV < 159 then
  154.     set the castNum of sprite 4 to 11
  155.     if the mouseDown then 
  156.       set the castNum of sprite 4 to 4
  157.     end if
  158.   else if the mouseH > 353 and the mouseH < 495 and the mouseV > 151 and the mouseV < 208 then
  159.     set the castNum of sprite 4 to 12
  160.     if the mouseDown then 
  161.       set the castNum of sprite 4 to 4
  162.     end if
  163.   else if the mouseH > 451 and the mouseH < 576 and the mouseV > 75 and the mouseV < 149 then
  164.     set the castNum of sprite 4 to 13
  165.     if the mouseDown then 
  166.       set the castNum of sprite 4 to 4
  167.     end if
  168.   else if the mouseH > 524 and the mouseH < 618 and the mouseV > 167 and the mouseV < 225 then
  169.     set the castNum of sprite 4 to 14
  170.     if the mouseDown then 
  171.       set the castNum of sprite 4 to 4
  172.     end if
  173.   else 
  174.     set the castNum of sprite 4 to 4
  175.   end if
  176.   updateStage
  177. end rollVLB22
  178.  
  179. on jumpVLB22
  180.   global dialogOn
  181.   if dialogOn = FALSE then
  182.     sound stop 1
  183.     if the clickOn < 7 or the clickOn > 23 then
  184.       if the mouseH > 168 and the mouseH < 325 and the mouseV > 163 and the mouseV < 218 then
  185.         puppetSprite 4, FALSE
  186.         go to frame "ltfin948001°°°"
  187.       else if the mouseH > 222 and the mouseH < 346 and the mouseV > 75 and the mouseV < 159 then
  188.         puppetSprite 4, FALSE
  189.         go to frame "ltfin948002°°°"
  190.       else if the mouseH > 353 and the mouseH < 495 and the mouseV > 151 and the mouseV < 208 then
  191.         puppetSprite 4, FALSE
  192.         go to frame "ltfin948003°°°"
  193.       else if the mouseH > 451 and the mouseH < 576 and the mouseV > 75 and the mouseV < 149 then
  194.         puppetSprite 4, FALSE
  195.         go to frame "ltfin948004°°°"
  196.         --        set the volume of sprite 15 to 255
  197.       else if the mouseH > 524 and the mouseH < 618 and the mouseV > 167 and the mouseV < 225 then
  198.         puppetSprite 4, FALSE
  199.         go to frame "ltfin948005°°°"
  200.       else 
  201.         nothing
  202.       end if
  203.     end if
  204.   end if
  205.   flush
  206. end jumpVLB22